<div class="pageContent">
	<form method="post" action="<?php echo site_url('backend/warehouse/add')?>" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
		<div class="pageFormContent" layoutH="97">
			<dl class="nowrap">
				<dt>请选择网点：</dt>
				<dd>
					<input class="required" name="district_districtName" type="text" size="50" readonly="readonly"/>
					<input type="hidden" class="required" name="district_id" type="text" style="width:300px" readonly/>
					<a class="btnLook" href="<?php echo site_url('backend/warehouse/addAgent')?>" lookupGroup="district">网点</a>	
				</dd>
			</dl>
			<dl class="nowrap">
			<dt>请选择产品：</dt>
			</dl>
			<h3 class="contentTitle"></h3>
			<div class="tabs">
			<div class="tabsContent" style="height: 450px;">
				<div>
					<table class="list nowrap itemDetail" addButton="分配产品" width="100%">
						<thead>
							<tr>
								<th type="text" name="products[#index#][id]" defaultVal="#index#" size="12" fieldClass="digits">序号</th>
								<th type="lookup" name="products[#index#][items_orgName]" fieldClass="readonly" lookupGroup="products[#index#][items" lookupPk="orgNum]" lookupUrl="<?php echo site_url('backend/warehouse/addProduct')?>" size="12">商品名称</th>
								<th type="text" name="products[#index#][items_stock]" fieldClass="readonly" size="12">库存</th>
								<th type="text" name="products[#index#][number]" defaultVal="1" size="12" fieldClass="number" class="required number">分配数量</th>
								<th type="del" width="60">操作</th>
							</tr>
						</thead>
						<tbody></tbody>
						
					</table>
				</div>
			</div>
			<div class="tabsFooter">
				<div class="tabsFooterContent"></div>
			</div>
		</div>
		</div>
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
